package com.zking.ssm.NH.service;



import com.zking.ssm.NH.model.ThotelBrandType;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IThotelBrandTypeService {
    int deleteByPrimaryKey(ThotelBrandType ttId);

    int insert(ThotelBrandType record);

    int insertSelective(ThotelBrandType record);

    ThotelBrandType selectByPrimaryKey(Long ttId);

    int updateByPrimaryKeySelective(ThotelBrandType record);

    @Transactional(readOnly = true)
    List<ThotelBrandType> selectByPrimaryKeyCascode(Long ttId);

    int updateByPrimaryKey(ThotelBrandType record);

    @Transactional(readOnly = true)
    List<ThotelBrandType> lista(ThotelBrandType record, PageBean pageBean);

    int deletepiliang(ThotelBrandType record);
}
